package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
//主程序启动类

//定时任务注解
//@EnableScheduling

//方法以：mapper包扫描，在项目启动类中添加此注解，会自动装配Mapper
//方法二：在每个Mapper接口上添加@Mapper注解完成装配（建议采用方法一）
//@MapperScan("com.mapper")
@SpringBootApplication
public class SummerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SummerApplication.class, args);
    }
}
